<?php
require_once 'MCollection.php';

class MTransitionCollection extends MCollection {
	
	function offsetSet($offset, $value)
	{
		if(!is_a($value, 'MTransition')) throw new MException('Error: Instance is not a MTransition object.');
		
		if ($offset)  $this->objectArray[$offset] = $value;
		else  $this->objectArray[] = $value;
	}
}
?>